package io.geekidea.boot.noguaranteeorder.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.geekidea.boot.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;

@Getter@Setter
@NoArgsConstructor
@ToString(callSuper = true)
@TableName("tb_noguaranteeorder")


public class NoGuaranteeOrder extends BaseEntity implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    @TableField(value = "type")
    private String type;

    @TableField(value = "name")
    private String name;

    @TableField(value = "oddSwitch")
    private String oddSwitch;

    @TableField(value = "oddNumber")
    private String oddNumber;

    @TableField(value = "state")
    private String state;

    /**
     * 删除标识  0表示未删除  1表示已删除
     */
    @TableField(value = "deleted")
    @TableLogic(delval = "1",value = "0")
    private String deleted;


}
